<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <title>Title</title>
    <script src="${ctx}/bootstrap/jquery-1.9.1.min.js"></script>
    <script src="${ctx}/bootstrap/bootstrap.js"></script>
    <script src="${ctx}/bootstrap/jquery.validate.min.js"></script>
    <script src="${ctx}/bootstrap/messages_zh.js"></script>
    <script src="${ctx}/bootstrap/validate.js"></script>
    <link rel="stylesheet" href="css/index_work.css">
</head>
<body>
<table>
   <tr>
       <td>ID</td>
       <td>栏目名称</td>
       <td>所属栏目</td>
       <td>创建人</td>
       <td>创建时间</td>
   </tr>
    <c:forEach items="${list}" var="var">
        <tr>
            <td>${var.id}</td>
            <td>${var.lmmc}</td>
            <td>${var.shlm}</td>
            <td>${var.cjr}</td>
            <td>${var.cjsh}</td>
        </tr>
    </c:forEach>

</table>
<a href="${ctx}/toadd.do">添加</a>
</body>
</html>
